﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace VGSoftware.AutoExtractService.Configuration
{
	public class PlugInConfigurationSection : ConfigurationSection
	{
		private const string SectionName = "plugInConfigration";

		public static PlugInConfigurationSection GetConfig()
		{
			return (PlugInConfigurationSection)System.Configuration.ConfigurationManager.GetSection(PlugInConfigurationSection.SectionName) ?? new PlugInConfigurationSection();
		}

		[ConfigurationProperty("plugIns")]
		public PlugInConfigurationCollection PlugIns
		{
			get { return (PlugInConfigurationCollection)this["plugIns"] ?? new PlugInConfigurationCollection(); }
		}
	}
}
